home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / get_fi_1 / docmaste.frm < prev    next >
Text File  |  1999-07-04  |  2KB  |  79 lines

  1. VERSION 5.00
  2. Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
  3. Begin VB.Form frmDocMaster 
  4.    Caption         =   "Document 1"
  5.    ClientHeight    =   3195
  6.    ClientLeft      =   60
  7.    ClientTop       =   630
  8.    ClientWidth     =   6720
  9.    LinkTopic       =   "Form1"
  10.    MDIChild        =   -1  'True
  11.    ScaleHeight     =   3195
  12.    ScaleWidth      =   6720
  13.    Begin RichTextLib.RichTextBox Text1 
  14.       Height          =   3105
  15.       Left            =   45
  16.       TabIndex        =   0
  17.       Top             =   45
  18.       Width           =   6630
  19.       _ExtentX        =   11695
  20.       _ExtentY        =   5477
  21.       _Version        =   393217
  22.       Enabled         =   -1  'True
  23.       ScrollBars      =   3
  24.       TextRTF         =   $"DocMaster.frx":0000
  25.    End
  26.    Begin VB.Menu mnuFile 
  27.       Caption         =   "File"
  28.       Begin VB.Menu mnuFileOpen 
  29.          Caption         =   "Open"
  30.       End
  31.       Begin VB.Menu mnuFilePreview 
  32.          Caption         =   "Preview"
  33.       End
  34.       Begin VB.Menu mnuFileExit 
  35.          Caption         =   "Exit"
  36.       End
  37.    End
  38. End
  39. Attribute VB_Name = "frmDocMaster"
  40. Attribute VB_GlobalNameSpace = False
  41. Attribute VB_Creatable = False
  42. Attribute VB_PredeclaredId = True
  43. Attribute VB_Exposed = False
  44. ' DocMaster.frm
  45.  
  46. Option Explicit
  47.  
  48.  
  49. Private Sub Form_Load()
  50.     Text1.Move 0, 0, frmFrame.ScaleWidth - 100, frmFrame.ScaleHeight - 100
  51.     mnuFileOpen_Click
  52. End Sub
  53.  
  54.  
  55. Private Sub Form_Unload(Cancel As Integer)
  56.     End
  57. End Sub
  58.  
  59.  
  60.  
  61. Private Sub mnuFileOpen_Click()
  62.     Text1.LoadFile App.Path & "\Untitled.rtf"
  63. End Sub
  64.  
  65.  
  66.  
  67. Private Sub mnuFilePreview_Click()
  68.     frmDocPreview.Show vbModal
  69.     If gprint = True Then
  70.          frmDocPreview.DocPrintProc
  71.     End If
  72. End Sub
  73.  
  74.  
  75. Private Sub mnuFileExit_Click()
  76.     End
  77. End Sub
  78.  
  79.